package ink.kangaroo.mybatisflexdemo.entity

import com.mybatisflex.annotation.Column
import com.mybatisflex.annotation.Id
import com.mybatisflex.annotation.Table
import com.mybatisflex.core.activerecord.Model
import java.util.Date


@Table(value = "user", dataSource = "dev_db")
class User : Model<User>() {
    @Id(value = "id")
    var id: Int? = null

    @Column(value = "name")
    var name: String? = null

    @Column(value = "create_time")
    var createTime: Date? = null

    @Column(value = "update_time")
    var updateTime: Date? = null
}